home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ugoku
/
src.lzh
/
MOVREC
/
IRCDSK2.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-01
|
16KB
|
687 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int baseDialogId2 ;
extern int baseDialogId ;
extern int base2BtnId[9] ;
extern int selectFunc1() ;
extern int selectFunc2() ;
extern int selectFunc3() ;
extern int selectFunc4() ;
extern int selectFunc5() ;
extern int selectFunc6() ;
extern int selectFunc7() ;
extern int selectFunc8() ;
extern int selectFunc0() ;
extern int baseDialogId3 ;
extern int baseInputMesId[2] ;
extern int baseDialogId4 ;
extern int base2MesId[30] ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init ùpâfü[â^ */
/* âwâbâ_ */
MMIINIT initDataIRCDSK2 = { "MmiInit", 40, 0 } ;
/* baseDialogId2 */
static MMIPACKET d001 = { &baseDialogId2,
&baseDialogId,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
0, 20, 639, 479,15, 6, 8,
MS_NONEL40,
NULL, 0, 0
} ;
/* base2BtnId[1] */
static MMIPACKET d002 = { &base2BtnId[1],
&baseDialogId2,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d002d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
74, 114, 373, 169,15, 4, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
selectFunc1,
0x0000
} ;
/* base2BtnId[2] */
static MMIPACKET d003 = { &base2BtnId[2],
&baseDialogId2,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d003d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
74, 187, 205, 242,15, 4, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
selectFunc2,
0x0000
} ;
/* base2BtnId[3] */
static MMIPACKET d004 = { &base2BtnId[3],
&baseDialogId2,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d004d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
242, 187, 373, 242,15, 4, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
selectFunc3,
0x0000
} ;
/* base2BtnId[4] */
static MMIPACKET d005 = { &base2BtnId[4],
&baseDialogId2,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d005d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
74, 260, 373, 315,15, 4, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
selectFunc4,
0x0000
} ;
/* base2BtnId[5] */
static MMIPACKET d006 = { &base2BtnId[5],
&baseDialogId2,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d006d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
74, 333, 205, 388,15, 4, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
selectFunc5,
0x0000
} ;
/* base2BtnId[6] */
static MMIPACKET d007 = { &base2BtnId[6],
&baseDialogId2,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d007d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
242, 333, 373, 388,15, 4, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
selectFunc6,
0x0000
} ;
/* base2BtnId[7] */
static MMIPACKET d008 = { &base2BtnId[7],
&baseDialogId2,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d008d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
435, 333, 566, 388,15, 4, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
selectFunc7,
0x0000
} ;
/* base2BtnId[8] */
static MMIPACKET d009 = { &base2BtnId[8],
&baseDialogId2,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d009d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
435, 406, 566, 461,15, 4, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
selectFunc8,
0x0000
} ;
/* base2BtnId[0] */
static MMIPACKET d010 = { &base2BtnId[0],
&baseDialogId2,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d010d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
74, 41, 566, 96,15, 4, 8,
MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
selectFunc0,
0x0000
} ;
/* baseDialogId3 */
static MMIPACKET d011 = { &baseDialogId3,
&baseDialogId2,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d011d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40 | MS_DSPONLYL40,
82, 70, 559, 89,15, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* baseInputMesId[0] */
static MMIPACKET d012 = { &baseInputMesId[0],
&baseDialogId3,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d012d = { MS_CENTERL40 | MS_DSPONLYL40,
87, 70, 555, 89, 0,15, 8,
MS_NONEL40,
" ",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* baseDialogId4 */
static MMIPACKET d013 = { &baseDialogId4,
&baseDialogId2,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d013d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40 | MS_DSPONLYL40,
82, 143, 365, 162,15, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* baseInputMesId[1] */
static MMIPACKET d014 = { &baseInputMesId[1],
&baseDialogId4,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d014d = { MS_CENTERL40 | MS_DSPONLYL40,
84, 143, 363, 162, 0,15, 8,
MS_NONEL40,
" ",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* base2MesId[0] */
static MMIPACKET d015 = { &base2MesId[0],
&baseDialogId2,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d015d = { MS_CENTERL40 | MS_DSPONLYL40,
241, 45, 400, 68, 0,15, 8,
MS_NONEL40,
"ô« ëµ ât â@ âC âï û╝",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* base2MesId[1] */
static MMIPACKET d016 = { &base2MesId[1],
&baseDialogId2,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d016d = { MS_CENTERL40 | MS_DSPONLYL40,
144, 119, 303, 142, 0,15, 8,
MS_NONEL40,
"î┤ëµâfâBâîâNâgâèé╠ÄwÆΦ",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* base2MesId[2] */
static MMIPACKET d017 = { &base2MesId[2],
&baseDialogId2,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d017d = { MS_CENTERL40 | MS_DSPONLYL40,
77, 203, 201, 226, 0,15, 8,
MS_NONEL40,
"î┤ëµâtâ@âCâïé╠ôoÿ^",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* base2MesId[3] */
static MMIPACKET d018 = { &base2MesId[3],
&baseDialogId2,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d018d = { MS_CENTERL40 | MS_DSPONLYL40,
245, 203, 369, 226, 0,15, 8,
MS_NONEL40,
"ârâfâIôⁿù═",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* base2MesId[4] */
static MMIPACKET d019 = { &base2MesId[4],
&baseDialogId2,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d019d = { MS_CENTERL40 | MS_DSPONLYL40,
144, 276, 303, 299, 0,15, 8,
MS_NONEL40,
"î┤ ëµ é╠ â` âF âb âN",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* base2MesId[5] */
static MMIPACKET d020 = { &base2MesId[5],
&baseDialogId2,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d020d = { MS_CENTERL40 | MS_DSPONLYL40,
83, 349, 205, 372, 0,15, 8,
MS_NONEL40,
"ô«ë